// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibiztaskteam', 'account', 'role', 'ibiztaskteamid', 'srfkey', 'srfdataaccaction', 'root', 'teammerberid', 'srfmajortext', ...wfKey];
    }

    get account() {
        return this.$DO.account;
    }

    set account(value: any) {
        this.$DO.account = value;
    }
    get role() {
        return this.$DO.role;
    }

    set role(value: any) {
        this.$DO.role = value;
    }
    get ibiztaskteamid() {
        return this.$DO.ibiztaskteamid;
    }

    set ibiztaskteamid(value: any) {
        this.$DO.ibiztaskteamid = value;
    }
    get srfkey() {
        return this.$DO.ibiztaskteamid;
    }

    set srfkey(value: any) {
        this.$DO.ibiztaskteamid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibiztaskteamid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibiztaskteamid = value;
    }
    get root() {
        return this.$DO.root;
    }

    set root(value: any) {
        this.$DO.root = value;
    }
    get teammerberid() {
        return this.$DO.teammerberid;
    }

    set teammerberid(value: any) {
        this.$DO.teammerberid = value;
    }
    get srfmajortext() {
        return this.$DO.ibiztaskteamname;
    }

    set srfmajortext(value: any) {
        this.$DO.ibiztaskteamname = value;
    }

    set ibiztaskteam(value: any) {
        this.$DO.ibiztaskteamid = value;
    }
    get ibiztaskteam() {
        return this.$DO.ibiztaskteamid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]